import { createAction } from 'utils';
import * as names from './names';

export const switchLoadAll = createAction(names.SWITCH_LOAD_ALL, ['staic']);
export const switchToTop = createAction(names.SWITCH_TO_TOP, ['staic']);

// 错误提示
export const displayError = createAction(names.DISPLAY_ERROR, ['error']);
export const clearError = createAction(names.CLEAR_ERROR, []);
